print(2/4)
print(2//4)
'''
b范围判断，等效于a<b&&b<c
'''
from fractions import Fraction
a=3
b=4
c=5
print(a<b<c)
'''
进制转换
'''
#py3.0是2.5，py2.6是2
print(10/4)
#8
print(0o2)
print(oct(2))
#2
print(0b11)
print(bin(2))
#16
print(0x10)
print(hex(16))

#分数形式
print(Fraction(2,3))